package lab02.test15;


public class Test {

    public static void main(String[] args) {

        Graduate zhangwu=new Graduate();

        zhangwu.name="张舞";

        zhangwu.sex="女";

        zhangwu.age=20;

        zhangwu.fee=15000;

        zhangwu.pay=5000;

        double i=zhangwu.getPay()*12-zhangwu.getFee();

        if (i<2000)
            System.out.println("“You need a loan!");

        else
            System.out.println("You income is enough！");


    }
}
